<?php
require_once('common/common.php');
User::initialize(db_connect());
$user = User::authenticate();
$username = $user->get('name');
?>
<!DOCTYPE html>
<HTML>
<head><title>TOP</title></head>
<body>Hello, <?php echo $username ?>. Nothing to see here.<br />
<a href="logout.php">logout</a>
</body>
</HTML>